package com.powerManager.sdk.common;

import java.util.List;
import java.util.Map;

import com.powerManager.sdk.entity.User;
//
public interface ISecurityUser {

	public User currentUser();
	
	public List<Map<String, Object>> currentRole();
	
	public Map<String, Object> currentDept();
	
	public void setCurrentUser(User user);
	
	public void setCurrentRole(List<Map<String, Object>> roles);
	
	public void setCurrentDept(Map<String, Object> dept);
	
	public boolean isAdopt(String moduleId);
	
	public List<Map<String, Object>> showMenu();
	
	public List<Map<String, Object>> showButton(String menuId);
}
